package com.sh.data.engine.application.model.request.datadev;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema
public class OfflineDevTaskRunRequest {

    @Schema(description = "脚本")
    private String script;

    private List<OfflinedevTaskParamRequest> params;

    @Schema(description = "nodeId")
    private Long taskNodeId;

    @Schema(description = "执行类型 0-手工执行 1-周期执行")
    private int execType;


    @Data
    public static class OfflinedevTaskParamRequest {

        private String paramName;

        private String paramValue;
    }


}
